package conson.tech.manage.coupons.service;

import conson.tech.core.response.Response;
import conson.tech.manage.coupons.entity.dto.CouponMsgEditDto;

/**
 * InterfaceName: CouponsMessageCenterService
 * Description: 优惠券消息中心业务接口
 * Author: XYF
 * Date: 2020/7/30 21:28
 * Version: 1.0
 */
public interface CouponsMessageCenterService {


    /**
     * 查看优惠券消息中心详情
     *
     * @param id
     * @param type
     * @return conson.tech.core.response.Response
     */
    Response getCouponMsg1(Long id,Integer type);

    /**
     * 优惠券消息中心修改
     *
     * @param currentUserId
     * @param currentUsername
     * @param id
     * @param type
     * @param dto
     * @return conson.tech.core.response.Response
     */
    Response updateCouponMsg1(Long currentUserId, String currentUsername, Long id,Integer type, CouponMsgEditDto dto);
}

